package com.lzb.domain;

public class Article {

	private Integer id;

    private String title;

    private String link;

    private Integer userId;

    private String createTime;

    private Integer votes;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link == null ? null : link.trim();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.trim();
    }

    public Integer getVotes() {
        return votes;
    }

    public void setVotes(Integer votes) {
        this.votes = votes;
    }
    
    @Override
   	public String toString() {
   		return "Article [id=" + id + ", title=" + title + ", link=" + link
   				+ ", userId=" + userId + ", createTime=" + createTime
   				+ ", votes=" + votes + "]";
   	}
}